package com.yoyo.wauth.domain.form;
import io.swagger.v3.oas.annotations.media.Schema;

@Schema(description = "更改密码")
public class ChangePasswordBody {

    /**
     * 密码
     */
    @Schema(description = "用户的旧密码", required = true)
    private String password;

    /**
     * 新密码
     */
    @Schema(description = "新密码", required = true)
    private String newPassword;

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getNewPassword() {
        return newPassword;
    }

    public void setNewPassword(String newPassword) {
        this.newPassword = newPassword;
    }
}
